{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  {% block metadescription %}<meta name="description" content="Personal website and blog of developer, designer and entrepreneur Rodrigo Neri also known as Rigo. Follow him at @rigoneri" />{% endblock %}
  {% block metakeywords %}<meta name="keywords" content="Rodrigo Neri, rigoneri, developer, designer, entrepreneur, instin, myhomework" />{% endblock %}
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{% block pagetitle %}Rigo [Rodrigo Neri]{% endblock %}</title>
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
  {% if RSS_FEED_ENABLED %}
  <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ RSS_FEED_URL }}" />
  {% endif %}
  {% if DEV_DEPLOYMENT_MODE %}
  <link rel="stylesheet/less" type="text/css" href="{% static 'less/styles.less' %}">
  <script src="{% static 'less/less-1.3.1.min.js' %}" type="text/javascript"></script>
  {% else %}
  <link rel="stylesheet" href="{% static 'css/styles-'|add:COMPRESS_REVISION_NUMBER|add:'.min.css' %}" type="text/css" media="screen, projection">
  {% endif %}
  {% include "favicon.html" %}
</head>
<body>
<header class="main-header">
  <hgroup>
    <div class="picture">
      <a href="/" rel="home"></a>
    </div>
    <h1>Rodrigo Neri</h1>
    <h2>iOS &amp; Web Developer + Designer + Entrepreneur Co-Founder of <a href="http://instin.com">Instin</a></h2>
  </hgroup>
  <nav>
    <ul class="main-nav">
      <li><a href="/" id="home-link">Home</a></li>
      <li><a href="http://twitter.com/#!/rigoneri" id="twitter-link">Twitter</a></li>
      <li><a href="http://github.com/rigoneri" id="github-link">Github</a></li>
      <li><a href="http://dribbble.com/rigoneri" id="dribbble-link">Dribbble</a></li>
      <li><a href="http://instagr.am/p/Lau1VrEPbt" id="instagram-link">Instagram</a></li>
      <li><a href="http://lastfm.com/user/rigoneri" id="lastfm-link">Last.fm</a></li>
      <li><a href="https://foursquare.com/user/8786308" id="foursquare-link">Foursquare</a></li>
      {% comment %}
      <li><a href="http://tent.henklein.com" id="tent-link">Tent.io</a></li>
      <li><a href="http://soundcloud.com/guram-kajaia" id="soundcloud-link">Soundcloud</a></li>
      <li><a href="http://bitbucket.org/rigoneri" id="bitbucket-link">Bitbucket</a></li>
      <li><a href="http://steamcommunity.com/id/steamshortname" id="steam-link">Steam</a></li>
      <li><a href="http://stackoverflow.com/users/USERID/USERNAME" id="stackoverflow-link">StackOverflow</a></li>
      <li><a href="http://www.flickr.com/photos/manavo" id="flickr-link">Flickr</a></li>
      <li><a href="http://linkedin.com/in/rigoneri" id="linkedin-link">LinkedIn</a></li>
      {% endcomment %}
      <li><a href="mailto:contact@rigoneri.com?subject=Hello" id="contact-link">Contact</a></li>
    </ul>
  </nav>
  <a href="https://github.com/rigoneri/syte" class="fork-me">Fork me on Github</a>
</header>
{% block main_section %}{% endblock %}
<div class="mobile-nav">
  <span class="nav-btn" id="mobile-nav-btn">
    <span class="nav-btn-bar"></span>
    <span class="nav-btn-bar"></span>
    <span class="nav-btn-bar"></span>
  </span>
  <h3><a href="/">rigoneri.com</a></h3>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
var twitter_integration_enabled = {% if TWITTER_INTEGRATION_ENABLED %}true{% else %}false{% endif %},
    github_integration_enabled = {% if GITHUB_INTEGRATION_ENABLED %}true{% else %}false{% endif %},
    dribbble_integration_enabled = {% if DRIBBBLE_INTEGRATION_ENABLED %}true{% else %}false{% endif %},
    instagram_integration_enabled = {% if INSTAGRAM_INTEGRATION_ENABLED %}true{% else %}false{% endif %},
    lastfm_integration_enabled = {% if LASTFM_INTEGRATION_ENABLED %}true{% else %}false{% endif %},
    disqus_integration_enabled = {% if DISQUS_INTEGRATION_ENABLED %}true{% else %}false{% endif %},
    soundcloud_integration_enabled = {% if SOUNDCLOUD_INTEGRATION_ENABLED %}true{% else %}false{% endif %},
    bitbucket_integration_enabled = {% if BITBUCKET_INTEGRATION_ENABLED %}true{% else %}false{% endif %},
    foursquare_integration_enabled = {% if FOURSQUARE_INTEGRATION_ENABLED %}true{% else %}false{% endif %},
    tent_integration_enabled = {% if TENT_INTEGRATION_ENABLED %}true{% else %}false{% endif %};
    steam_integration_enabled = {% if STEAM_INTEGRATION_ENABLED %}true{% else %}false{% endif %};
    stackoverflow_integration_enabled = {% if STACKOVERFLOW_INTEGRATION_ENABLED %}true{% else %}false{% endif %};
    flickr_integration_enabled = {% if FLICKR_INTEGRATION_ENABLED %}true{% else %}false{% endif %};
    linkedin_integration_enabled = {% if LINKEDIN_INTEGRATION_ENABLED %}true{% else %}false{% endif %};

{% if DISQUS_INTEGRATION_ENABLED %}var disqus_shortname = '{{ DISQUS_SHORTNAME }}';{% endif %}
{% if FLICKR_INTEGRATION_ENABLED %}var flickr_id = '{{ FLICKR_ID }}';{% endif %}
</script>

{% if TENT_INTEGRATION_ENABLED %}
<script type="text/javascript">
  var tent_entity_uri = '{{ TENT_ENTITY_URI }}';
  var tent_feed_url = '{{ TENT_FEED_URL }}';
</script>
{% endif %}

{% if DEV_DEPLOYMENT_MODE %}
<script src="{% static 'js/libs/jquery.url.js'%}"></script>
<script src="{% static 'js/libs/require.js'%}"></script>
<script src="{% static 'js/libs/handlebars.js'%}"></script>
<script src="{% static 'js/libs/moment.min.js'%}"></script>
<script src="{% static 'js/libs/bootstrap-transition.js'%}"></script>
<script src="{% static 'js/libs/bootstrap-modal.js'%}"></script>
<script src="{% static 'js/libs/spin.js'%}"></script>
<script src="{% static 'js/libs/prettify.js'%}"></script>

<script src="{% static 'js/components/base.js'%}"></script>
<script src="{% static 'js/components/mobile.js'%}"></script>
<script src="{% static 'js/components/blog-posts.js'%}"></script>
<script src="{% static 'js/components/links.js'%}"></script>

{% if TWITTER_INTEGRATION_ENABLED %}<script src="{% static 'js/components/twitter.js'%}"></script>{% endif %}
{% if GITHUB_INTEGRATION_ENABLED %}<script src="{% static 'js/components/github.js'%}"></script>{% endif %}
{% if DRIBBBLE_INTEGRATION_ENABLED %}<script src="{% static 'js/components/dribbble.js'%}"></script>{% endif %}
{% if INSTAGRAM_INTEGRATION_ENABLED %}<script src="{% static 'js/components/instagram.js'%}"></script>{% endif %}
{% if LASTFM_INTEGRATION_ENABLED %}<script src="{% static 'js/components/lastfm.js'%}"></script>{% endif %}
{% if BITBUCKET_INTEGRATION_ENABLED %}<script src="{% static 'js/components/bitbucket.js'%}"></script>{% endif %}
{% if DISQUS_INTEGRATION_ENABLED %}<script src="{% static 'js/components/disqus.js'%}"></script>{% endif %}
{% if SOUNDCLOUD_INTEGRATION_ENABLED %}<script src="{% static 'js/components/soundcloud.js'%}"></script>{% endif %}
{% if FOURSQUARE_INTEGRATION_ENABLED %}<script src="{% static 'js/components/foursquare.js'%}"></script>{% endif %}
{% if TENT_INTEGRATION_ENABLED %}<script src="{% static 'js/components/tent.js'%}"></script>{% endif %}
{% if STEAM_INTEGRATION_ENABLED %}<script src="{% static 'js/components/steam.js'%}"></script>{% endif %}
{% if STACKOVERFLOW_INTEGRATION_ENABLED %}<script src="{% static 'js/components/stackoverflow.js'%}"></script>{% endif %}
{% if FLICKR_INTEGRATION_ENABLED %}<script src="{% static 'js/components/flickr.js'%}"></script>{% endif %}
{% if LINKEDIN_INTEGRATION_ENABLED %}<script src="{% static 'js/components/linkedin.js'%}"></script>{% endif %}
{% else %}
<script src="{% static 'js/min/scripts-'|add:COMPRESS_REVISION_NUMBER|add:'.min.js'%}"></script>
{% endif %}

{% if SHARETHIS_PUBLISHER_KEY %}
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "{{ SHARETHIS_PUBLISHER_KEY }}"});</script>
{% endif %}

{% block extra_js %}{% endblock %}
<script type="text/javascript">
{% block extra_inline_js %}{% endblock %}

{% if WOOPRA_TRACKING_DOMAIN %}
// Start of woopra code
function woopraReady(tracker) {
    tracker.setDomain("{{WOOPRA_TRACKING_DOMAIN}}");
    tracker.setIdleTimeout({{WOOPRA_TRACKING_IDLE_TIMEOUT}});
    {% if WOOPRA_INCLUDE_QUERY %}
    tracker.trackPageview({type:'pageview',url:window.location.pathname+window.location.search,title:document.title});
    {% else %}
    tracker.track();
    {% endif %}
    return false;
}
(function() {
    var wsc = document.createElement('script');
    wsc.src = document.location.protocol+'//static.woopra.com/js/woopra.js';
    wsc.type = 'text/javascript';
    wsc.async = true;
    var ssc = document.getElementsByTagName('script')[0];
    ssc.parentNode.insertBefore(wsc, ssc);
})();
// End of woopra code
{% endif %}

{% if GOOGLE_ANALYTICS_TRACKING_ID %}
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{{GOOGLE_ANALYTICS_TRACKING_ID}}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
{% endif %}
</script>
</body>
</html>
